(global.webpackJsonp = global.webpackJsonp || []).push([ [ "pages/work/repair/list" ], {
    "2e04": function(t, e, i) {
        (function(t) {
            i("767a"), n(i("66fd"));
            var e = n(i("35a0"));
            function n(t) {
                return t && t.__esModule ? t : {
                    default: t
                };
            }
            wx.__webpack_require_UNI_MP_PLUGIN__ = i, t(e.default);
        }).call(this, i("543d").createPage);
    },
    "35a0": function(t, e, n) {
        n.r(e);
        var i, r = n("6a15"), a = n("d885");
        for (i in a) "default" !== i && function(t) {
            n.d(e, t, function() {
                return a[t];
            });
        }(i);
        n("5719");
        var o = n("f0c5"), r = Object(o.a)(a.default, r.b, r.c, !1, null, null, null, !1, r.a, void 0);
        e.default = r.exports;
    },
    5719: function(t, e, n) {
        var i = n("65a3");
        n.n(i).a;
    },
    "65a3": function(t, e, n) {},
    "6a15": function(t, e, n) {
        n.d(e, "b", function() {
            return i;
        }), n.d(e, "c", function() {
            return r;
        }), n.d(e, "a", function() {});
        var i = function() {
            this.$createElement;
            this._self._c;
        }, r = [];
    },
    c583: function(t, i, r) {
        (function(e) {
            function n(e, t) {
                var n, i = Object.keys(e);
                return Object.getOwnPropertySymbols && (n = Object.getOwnPropertySymbols(e), t && (n = n.filter(function(t) {
                    return Object.getOwnPropertyDescriptor(e, t).enumerable;
                })), i.push.apply(i, n)), i;
            }
            Object.defineProperty(i, "__esModule", {
                value: !0
            });
            var t = {
                components: {},
                data: function() {
                    return {
                        currentStatus: 0,
                        tabList: [ {
                            id: 0,
                            name: "全部"
                        }, {
                            id: 1,
                            name: "待确认"
                        }, {
                            id: 2,
                            name: "待处理"
                        }, {
                            id: 6,
                            name: "已处理"
                        }, {
                            id: 4,
                            name: "已取消"
                        } ],
                        emptyData: {
                            tip: "暂无相关数据"
                        },
                        list: []
                    };
                },
                onLoad: function(t) {},
                onShow: function() {
                    this.init();
                },
                computed: function(i) {
                    for (var t = 1; t < arguments.length; t++) {
                        var r = null != arguments[t] ? arguments[t] : {};
                        t % 2 ? n(Object(r), !0).forEach(function(t) {
                            var e, n;
                            e = i, t = r[n = t], n in e ? Object.defineProperty(e, n, {
                                value: t,
                                enumerable: !0,
                                configurable: !0,
                                writable: !0
                            }) : e[n] = t;
                        }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(r)) : n(Object(r)).forEach(function(t) {
                            Object.defineProperty(i, t, Object.getOwnPropertyDescriptor(r, t));
                        });
                    }
                    return i;
                }({}, (i.default = void 0, r("26cb").mapState)({
                    basicSet: function(t) {
                        return t.init.basicSet;
                    }
                })),
                methods: {
                    init: function() {
                        this.repair_list();
                    },
                    repair_list: function() {
                        var e = this;
                        this.$api("store.repair_list", {
                            status: e.currentStatus
                        }).then(function(t) {
                            e.list = t.data.list;
                        });
                    },
                    selectTab: function(t) {
                        t != this.currentStatus && (this.currentStatus = t, this.repair_list());
                    },
                    navto_detail: function(t) {
                        this.$Router.push({
                            path: "/pages/store/repair/detail",
                            query: {
                                id: t.id
                            }
                        });
                    },
                    call: function(t) {
                        this.$api("work.repair_tel", {
                            id: t.id
                        }).then(function(t) {
                            t = t.data.tel;
                            t && e.makePhoneCall({
                                phoneNumber: t
                            });
                        });
                    },
                    confirm: function(t) {
                        this.$Router.push({
                            path: "/pages/work/contract/confirm",
                            query: {
                                id: t.id
                            }
                        });
                    },
                    detail: function(t) {
                        this.$Router.push({
                            path: "/pages/house/lethouse/detail",
                            query: {
                                houseId: t.house_id
                            }
                        });
                    },
                    yyCancel: function(t) {
                        var e = this;
                        this.$api("my.yyEdit", {
                            status: 3,
                            id: t
                        }, "post").then(function(t) {
                            0 === t.errno ? (t.data.code, e.yyList()) : e.$tools.toast(t.msg);
                        });
                    }
                }
            };
            i.default = t;
        }).call(this, r("543d").default);
    },
    d885: function(t, e, n) {
        n.r(e);
        var i, r = n("c583"), a = n.n(r);
        for (i in r) "default" !== i && function(t) {
            n.d(e, t, function() {
                return r[t];
            });
        }(i);
        e.default = a.a;
    }
}, [ [ "2e04", "common/runtime", "common/vendor" ] ] ]);